/**  File: main.cpp
 *   Author: Jaideep Balekar
 *           Department of Computer Science
 *           Texas A&M University
 *           315 - Programming Studio
 * Due Date: December 6th, 2009 @ 11:59
 * Contents: entry point in to the program.
 */
 
#include "Menu.h"

#include <QApplication>
#include <vector>
#include <QGraphicsScene>
#include <QGraphicsView>
#include <QPushButton>
#include <QLabel>
#include <QTimer>


int main(int argc, char *argv[])

{
    //Create Qt application instance
    QApplication app(argc, argv);
	
    //Create an object of type QGraphicsScene (provides functionality to display various 2D objects)
    QGraphicsScene *scene = new QGraphicsScene();
	
    Menu display(scene);
	
    QObject:: connect(display.quitButton,SIGNAL(clicked()),&app,SLOT(quit()));

    //QGraphicsView inherited method
    display.show();

    //Enters the main event loop and waits until exit() is called or the main widget is destroyed
    return app.exec();
}

/**
References:
1. http://www.koders.com/cpp/fid9E02AB7E4F1CCB2B6A98AD46D3E7205467376E3B.aspx?s=include
2. http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=2935&lngWId=3
3. http://njam.sourceforge.net/
4. Pacman game design
	http://stackoverflow.com/questions/447187/pacman-game-class-design
5. Making 2D pacman game 
	http://www.driverheaven.net/programming-coding-web-design/10104-making-2d-game-c.html
6. Using shortest path algorithm for Pacman game development
	http://www.dreamincode.net/forums/showtopic23587.htm
7. About pacman game
	http://en.wikipedia.org/wiki/Pacman
	
*/
